package com.prothink.dao;


import com.prothink.entity.ProductViews;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ProductViewsDao {
    //全查
    public List getProductViews(ProductViews productViews);
    //添加
    public Integer addProductViews(ProductViews productViews);
    //全查 查近七天，近一个月数据
    public List getProductWeekandModViews(ProductViews productViews);
    //获取上一个月的数据
    public List getProductOnModViews(ProductViews productViews);
    //获取上一周的数据
    public List getProductOnWeek(ProductViews productViews);
}
